import request from '@/common/utils/request'
import type { HomeShow } from '../types/home-type'

/**
 * 首页-展示接口
 * @returns
 */
export const getHomeShowApi = (data: HomeShow) => {
  return request({
    url: '/home/data',
    method: 'GET',
    data,
  })
}


/**
 * 首页-通知接口
 * @returns
 */
export const getHomeNoticeApi = () => {
  return request({
    url: '/home/notice',
    method: 'GET',
  })
}


